package com.fqgj.xjd.user.client;

import com.fqgj.common.api.Response;
import com.fqgj.xjd.user.client.enums.UserAuthSmsTypeEnum;
import com.fqgj.xjd.user.client.request.UserAuthSms;
import com.fqgj.xjd.user.client.request.UserAuthSmsHistory;
import com.fqgj.xjd.user.client.response.UserAuthSmsInfo;

/**
 * @program: cashmama-user
 * @description
 * @author: frank
 * @create: 2020-01-14 16:37
 **/
public interface UserAuthSmsService {

    Response<Boolean> addUserAuthSms(UserAuthSms userAuthSms);

    Response<Boolean> addUserAuthSmsHistory(UserAuthSmsHistory userAuthSmsHistory);

    Response<UserAuthSmsInfo> getUserAuthSmsInfo(String userCode, UserAuthSmsTypeEnum type);

}
